﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BLL
{
    public class FirstWordUpper
    {
        public string AllName(string name)
        {
            string value = "";
            int i = name.Length - 1;
            if (i < 1)
                return name;
            string first = name.Substring(0, 1).ToUpper();
            string second = name.Substring(1, i);
            value += (first + second);
            return value;
        }
    }
}
